package com.jiangjiang.eshop.order.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

/**
 * @Author Jianghaowen
 * @Date 2021/7/14
 * @Description: TODO
 * @Version V1.0
 **/
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class PromotionActivityResult {

    /**
     * 促销减免金额
     */
    private Double discountAmount = 0.0;
    /**
     * 赠品对应的订单条目
     */
    private List<OrderItemDTO> orderItems = new ArrayList<>();
}
